//
//  MyViewController.m
//  MySegment
//
//  Created by Adiljan on 2016/12/6.
//  Copyright © 2016年 Adiljan. All rights reserved.
//

#import "MyViewController.h"
#import "ABViewController.h"
#import "ADViewController.h"
#import "ACViewController.h"
#import "ADSegmentView.h"

#define phone_width [UIScreen mainScreen].bounds.size.width
#define phone_height [UIScreen mainScreen].bounds.size.height
@interface MyViewController ()

@end

@implementation MyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    ABViewController *ab = [[ABViewController alloc]initWithNibName:@"ABViewController" bundle:nil];
    ACViewController *ac = [[ACViewController alloc]initWithNibName:@"ACViewController" bundle:nil];
    ADViewController *ad = [[ADViewController alloc]initWithNibName:@"ADViewController" bundle:nil];
    
    [self setViewController:@[ac,ab,ad] tiltes:@[@"AC",@"AB",@"AD"]];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
